package com.xqq.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 周边气象信息表;
 * </p>
 *
 * @author cxl
 * @since 2024-06-03
 */
@Getter
@Setter
@TableName("weather_info")
public class WeatherInfoDO {

    /**
     * 记录ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 火情ID
     */
    @TableField("fire_id")
    private Integer fireId;

    /**
     * 监测时间
     */
    @TableField("record_time")
    private Date recordTime;

    /**
     * 温度
     */
    @TableField("temperature")
    private String temperature;

    /**
     * 风力
     */
    @TableField("wind_level")
    private String windLevel;

    /**
     * 风向
     */
    @TableField("wind_direction")
    private String windDirection;

    /**
     * 气压
     */
    @TableField("pressure")
    private String pressure;

    /**
     * 湿度
     */
    @TableField("humidity")
    private String humidity;

    /**
     * 海拔
     */
    @TableField("altitude")
    private String altitude;

    /**
     * 降水率
     */
    @TableField("rainfall_rate")
    private String rainfallRate;


    @TableField("high_temperature_warning")
    private String highTemperatureWarning;

    /**
     * 县
     */
    @TableField("county")
    private String county;

    /**
     * 创建人
     */
    @TableField(value = "created_by", fill = FieldFill.INSERT)
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;

    /**
     * 删除标识
     */
    @TableField("deleted")
    private Integer deleted;

}
